home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / hobby / gim_308.zip / GIMPRN.GIM < prev    next >
Text File  |  1994-12-07  |  41KB  |  1,183 lines

  1. Printer Resource File
  2.  
  3. For use with GIM (Genealogical Information Manager)
  4.  
  5. To add a printer to this resource file, please contact your GIM authors
  6. and include full documentation on the printer escape/control code.
  7.  
  8. If there are any errors which you have corrected in this resource file,
  9. please send the corrections to your GIM authors immediately.
  10.  
  11.  
  12. =default_empty
  13.   _caveat               'No special instruction for this printer.'
  14.   _start_print          null
  15.   _end_print            null
  16.   _param_mode           binary
  17.   _cpi_5                null
  18.   _cpi_10               null
  19.   _cpi_12               null
  20.   _cpi_17               null
  21.   _horiz_pos_abs        null
  22.   _horiz_pos_abs_tail   null
  23.   _horiz_pos_param_size 0
  24.   _horiz_pos_abs_grain  0
  25.   _vert_pos_rel         null
  26.   _vert_pos_rel_tail    null
  27.   _vert_pos_rel_grain   0
  28.   _left_margin          null
  29.   _left_margin_tail     null
  30.   _left_margin_grain    0
  31.   _carriage_return      13
  32.   _carriage_home        null
  33.   _line_feed            10
  34.   _line_feed_amt        null
  35.   _line_feed_amt_tail   null
  36.   _line_feed_amt_grain  0
  37.   _form_feed            12
  38.   _bold                 null
  39.   _bold_cancel          null
  40.   _underline            null
  41.   _underline_cancel     null
  42.   _subscript            null
  43.   _subscript_cancel     null
  44.   _superscript          null
  45.   _superscript_cancel   null
  46.   _font_number          1
  47.   _font_name            'default'
  48.   _font_select          null
  49.   _font_file            null
  50.  
  51. =Generic_ASCII_Text
  52.   _caveat               'Generic primitive printer.'
  53.   _start_print          null
  54.   _end_print            null
  55.   _param_mode           binary
  56.   _cpi_5                null
  57.   _cpi_10               null
  58.   _cpi_12               null
  59.   _cpi_17               null
  60.   _horiz_pos_abs        null
  61.   _horiz_pos_abs_tail   null
  62.   _horiz_pos_param_size 0
  63.   _horiz_pos_abs_grain  0
  64.   _vert_pos_rel         null
  65.   _vert_pos_rel_tail    null
  66.   _vert_pos_rel_grain   0
  67.   _left_margin          null
  68.   _left_margin_tail     null
  69.   _left_margin_grain    0
  70.   _carriage_return      13
  71.   _carriage_home        null
  72.   _line_feed            10
  73.   _line_feed_amt        null
  74.   _line_feed_amt_tail   null
  75.   _line_feed_amt_grain  0
  76.   _form_feed            null
  77.   _bold                 null
  78.   _bold_cancel          null
  79.   _underline            null
  80.   _underline_cancel     null
  81.   _subscript            null
  82.   _subscript_cancel     null
  83.   _superscript          null
  84.   _superscript_cancel   null
  85.   _font_number          1
  86.   _font_name            'default'
  87.   _font_select          null
  88.   _font_file            null
  89.  
  90. =Generic_Dot_Matrix_(Epson_mode)
  91.   _caveat               'Generic dot-matrix printer.'
  92.   _start_print          27 '@' 27 '0'
  93.   _end_print            null
  94.   _param_mode           binary
  95.   _cpi_5                null
  96.   _cpi_10               18 27 'P'
  97.   _cpi_12               18 27 'M'
  98.   _cpi_17               15
  99.   _horiz_pos_abs        null
  100.   _horiz_pos_abs_tail   null
  101.   _horiz_pos_param_size 0
  102.   _horiz_pos_abs_grain  0
  103.   _vert_pos_rel         null
  104.   _vert_pos_rel_tail    null
  105.   _vert_pos_rel_grain   0
  106.   _left_margin          null
  107.   _left_margin_tail     null
  108.   _left_margin_grain    0
  109.   _carriage_return      13
  110.   _carriage_home        null
  111.   _line_feed            10
  112.   _line_feed_amt        null
  113.   _line_feed_amt_tail   null
  114.   _line_feed_amt_grain  0
  115.   _form_feed            12
  116.   _bold                 null
  117.   _bold_cancel          null
  118.   _underline            null
  119.   _underline_cancel     null
  120.   _subscript            null
  121.   _subscript_cancel     null
  122.   _superscript          null
  123.   _superscript_cancel   null
  124.   _font_number          1
  125.   _font_name            'default'
  126.   _font_select          null
  127.   _font_file            null
  128.  
  129. =Epson_default
  130.   _caveat               null
  131.   _start_print          27 116 49 27 54
  132.   _end_print            null
  133.   _param_mode           binary
  134.   _cpi_5                null
  135.   _cpi_10               18 27 80
  136.   _cpi_12               18 27 77
  137.   _cpi_17               27 80 15
  138.   _horiz_pos_abs        27 36
  139.   _horiz_pos_abs_tail   null
  140.   _horiz_pos_param_size 1
  141.   _horiz_pos_abs_grain  360
  142.   _vert_pos_rel         27 51
  143.   _vert_pos_rel_tail    null
  144.   _vert_pos_rel_grain   180
  145.   _left_margin          27 108
  146.   _left_margin_tail     null
  147.   _left_margin_grain    10
  148.   _carriage_return      13
  149.   _carriage_home        27 '<'
  150.   _line_feed            10
  151.   _line_feed_amt        null
  152.   _line_feed_amt_tail   null
  153.   _line_feed_amt_grain  0
  154.   _form_feed            12
  155.   _bold                 27 69
  156.   _bold_cancel          27 70
  157.   _underline            null
  158.   _underline_cancel     null
  159.   _subscript            null
  160.   _subscript_cancel     null
  161.   _superscript          null
  162.   _superscript_cancel   null
  163.   _font_number          1
  164.   _font_name            'default'
  165.   _font_select          null
  166.   _font_file            null
  167.  
  168. =Epson_RX-80_compatible
  169.   @Panasonic_KX-P1091i_(Epson_emulation)
  170.   _caveat               null
  171.  
  172. =Epson_LX-810_(test_1)
  173.   _caveat               null
  174.   _start_print          27 '@' 27 't' 1
  175.   _end_print            27 '@'
  176.   _param_mode           binary
  177.   _cpi_5                null
  178.   _cpi_10               18 27 'P'
  179.   _cpi_12               18 27 'M'
  180.   _cpi_17               27 'P' 15
  181.   _horiz_pos_abs        27 68 00 13 27 68
  182.   _horiz_pos_abs_tail   00 09
  183.   _horiz_pos_param_size 1
  184.   _horiz_pos_abs_grain  17
  185.   _vert_pos_rel         null
  186.   _vert_pos_rel_tail    null
  187.   _vert_pos_rel_grain
  188.   _left_margin          18 27 'M' 27 'l'
  189.   _left_margin_tail     null
  190.   _left_margin_grain    12
  191.   _carriage_return      13
  192.   _carriage_home        null
  193.   _line_feed            10
  194.   _line_feed_amt        27 'A'
  195.   _line_feed_amt_tail   null
  196.   _line_feed_amt_grain  58
  197.   _form_feed            12
  198.   _bold                 27 'E'
  199.   _bold_cancel          27 'F'
  200.   _underline            27 '-' 1
  201.   _underline_cancel     27 '-' 0
  202.   _subscript            27 'S' 1
  203.   _subscript_cancel     27 'T'
  204.   _superscript          27 'S' 0
  205.   _superscript_cancel   27 'T'
  206.   _font_number          1
  207.   _font_name            'Draft Quality'
  208.   _font_select          27 'x' 0
  209.   _font_file            null
  210.   _font_number          2
  211.   _font_name            'NLQ--Roman'
  212.   _font_select          27 'x' 1 27 'k' 0
  213.   _font_file            null
  214.   _font_number          3
  215.   _font_name            'NLQ--Sans Serif'
  216.   _font_select          27 'x' 1 27 'k' 1
  217.   _font_file            null
  218.  
  219. =Epson_LX-810_(test_2_preferred)
  220.   _caveat               'DIP switch 2-4 must be OFF'
  221.   _start_print          27 '@' 27 't' 1
  222.   _end_print            27 '@'
  223.   _param_mode           binary
  224.   _cpi_5                null
  225.   _cpi_10               18 27 'P'
  226.   _cpi_12               18 27 'M'
  227.   _cpi_17               27 'P' 15
  228.   _horiz_pos_abs        null
  229.   _horiz_pos_abs_tail   null
  230.   _horiz_pos_param_size 0
  231.   _horiz_pos_abs_grain  0
  232.   _vert_pos_rel         null
  233.   _vert_pos_rel_tail    null
  234.   _vert_pos_rel_grain
  235.   _left_margin          18 27 'M' 27 'l'
  236.   _left_margin_tail     null
  237.   _left_margin_grain    12
  238.   _carriage_return      13
  239.   _carriage_home        13
  240.   _line_feed            10
  241.   _line_feed_amt        27 'A'
  242.   _line_feed_amt_tail   null
  243.   _line_feed_amt_grain  58
  244.   _form_feed            12
  245.   _bold                 27 'E'
  246.   _bold_cancel          27 'F'
  247.   _underline            27 '-' 1
  248.   _underline_cancel     27 '-' 0
  249.   _subscript            27 'S' 1
  250.   _subscript_cancel     27 'T'
  251.   _superscript          27 'S' 0
  252.   _superscript_cancel   27 'T'
  253.   _font_number          1
  254.   _font_name            'Draft Quality'
  255.   _font_select          27 'x' 0
  256.   _font_file            null
  257.   _font_number          2
  258.   _font_name            'NLQ--Roman'
  259.   _font_select          27 'x' 1 27 'k' 0
  260.   _font_file            null
  261.   _font_number          3
  262.   _font_name            'NLQ--Sans Serif'
  263.   _font_select          27 'x' 1 27 'k' 1
  264.   _font_file            null
  265.  
  266. =Epson_LQ-860_compatible
  267.   @Star_NX2420_Rainbow_(Epson_emulation)
  268.   _caveat               null
  269.  
  270. =Epson_LQ-2500_compatible
  271.   @Panasonic_KX-P1124_(Epson_emulation)
  272.   _caveat               null
  273.  
  274. =HP_DeskJet_500
  275.   @HP_LaserJet_II_internal
  276.   ; start_print here is different from the HP_LaserJet_II_internal because:
  277.   ;   - the HP_LaserJet_II_internal defines a default primary and secondary
  278.   ;     pitch which are superfluous, since each font selects its own pitch
  279.   ;   - it is necessary to suppress the perforation skip, so the forms can
  280.   ;     print on the very top of the page; this step is apparently not
  281.   ;     necessary for the LaserJet and other PCL printers
  282.   _start_print          27 'E' 27 '&l0L' 27 '&k0G'
  283.   ; Preprinted FGR can use cpi_5 for those printers that support it
  284.   _cpi_5                27 '(s5H'
  285.   ; HP_LaserJet_II_internal uses a mechanism for setting logical left
  286.   ; margins that the DeskJet doesn't support; the following six lines
  287.   ; provide an alternate mechanism
  288.   _left_margin          null
  289.   _left_margin_tail     null
  290.   _left_margin_grain    null
  291.   _carriage_return      13
  292.   _carriage_home        null
  293.   _horiz_pos_abs_logic  1
  294.   ; These are all DeskJet internal fonts
  295.   _font_number          1
  296.   _font_name            'Courier 10 Pitch LQ'
  297.   _font_select          27 '(10U' 27 '(s0p10h12v0s0b3t2Q'
  298.   _font_file            null
  299.   _font_number          2
  300.   _font_name            'Letter Gothic 12 Pitch LQ'
  301.   _font_select          27 '(10U' 27 '(s0p12h12v0s0b6t2Q'
  302.   _font_file            null
  303.   _font_number          3
  304.   _font_name            'Courier 10 Pitch Draft'
  305.   _font_select          27 '(10U' 27 '(s0p10h12v0s0b3t1Q'
  306.   _font_file            null
  307.   _font_number          4
  308.   _font_name            'Letter Gothic 12 Pitch Draft'
  309.   _font_select          27 '(10U' 27 '(s0p12h12v0s0b6t1Q'
  310.   _font_file            null
  311.   ; I suspect that these entries ought to go in HP_LaserJet_II_internal.
  312.   _subscript            27 '(s6V'
  313.   _subscript_cancel     27 '(s12V'
  314.  
  315. =HP_LaserJet_II_internal
  316.   _caveat               null
  317.   _start_print          27 'E' 27 '(s12H' 27 ')s16.66H' 27 '&k0G'
  318.   _end_print            27 'Z' 27 'E'
  319.   _param_mode           ascii
  320.   _cpi_5                null
  321.   _cpi_10               27 '(s10H'
  322.   _cpi_12               27 '(s12H'
  323.   _cpi_17               27 '(s16.66H'
  324.   _horiz_pos_abs        27 '*p'
  325.   _horiz_pos_abs_tail   'X'
  326.   _horiz_pos_param_size 9
  327.   _horiz_pos_abs_grain  300
  328.   _vert_pos_rel         27 '*p+'
  329.   _vert_pos_rel_tail    'Y'
  330.   _vert_pos_rel_grain   300
  331.   _left_margin          27 '&l+'
  332.   _left_margin_tail     'U'
  333.   _left_margin_grain    720
  334.   _carriage_return      13
  335.   _carriage_home        13
  336.   _line_feed            10
  337.   _line_feed_amt        null
  338.   _line_feed_amt_tail   null
  339.   _line_feed_amt_grain  0
  340.   _form_feed            12
  341.   _bold                 27 '(s7B'
  342.   _bold_cancel          27 '(s0B'
  343.   _underline            27 '&dD'
  344.   _underline_cancel     27 '&d@'
  345.   _subscript            null
  346.   _subscript_cancel     null
  347.   _superscript          null
  348.   _superscript_cancel   null
  349.  
  350. =HP_LaserJet_II_(PCL_4)
  351.   @HP_LaserJet_II_internal
  352.   _font_number          1
  353.   _font_name            'Internal Courier'
  354.   _font_select          27 '(10U'
  355.   _fontfile_set         null
  356.   _fontfile_set_tail    null
  357.   _fontfile_select      null
  358.   _fontfile_select_tail null
  359.   _fontfile_10          null
  360.   _fontfile_10b         null
  361.   _fontfile_12          null
  362.   _fontfile_12b         null
  363.   _fontfile_17          null
  364.   _fontfile_17b         null
  365.  
  366. =HP_LaserJet_II_diagnostic
  367.   @HP_LaserJet_II_(PCL_4)
  368.   _start_print          27 'E' 27 'Y' 27 '(s12H' 27 ')s16.66H' 27 '&k0G'
  369.   _end_print            27 'Z' 27 'E'
  370.  
  371. =HP_LaserJet_II_(testing)
  372.   @HP_LaserJet_II_internal
  373.   _horiz_pos_abs        null
  374.   _horiz_pos_abs_tail   null
  375.   _horiz_pos_param_size 0
  376.   _horiz_pos_abs_grain  0
  377.   _font_number          1
  378.   _font_name            'Internal Courier'
  379.   _font_select          27 '(10U'
  380.   _font_file            null
  381.  
  382. =IBM_2390/2391_(IBM_mode)
  383.   _caveat               null
  384.   _start_print          27 '@' 27 '6'
  385.   _end_print            null
  386.   _param_mode           binary
  387.   _cpi_5                null
  388.   _cpi_10               18
  389.   _cpi_12               18 27 ':'
  390.   _cpi_17               18 15
  391.   _horiz_pos_abs        null
  392.   _horiz_pos_abs_tail   null
  393.   _horiz_pos_param_size 0
  394.   _horiz_pos_abs_grain  0
  395.   _vert_pos_rel         27 'J'
  396.   _vert_pos_rel_tail    null
  397.   _vert_pos_rel_grain   216
  398.   _left_margin          18 27 'X'
  399.   _left_margin_tail     80
  400.   _left_margin_grain    10
  401.   _carriage_return      13
  402.   _carriage_home        null
  403.   _line_feed            10
  404.   _line_feed_amt        27 'A'
  405.   _line_feed_amt_tail   27 '2'
  406.   _line_feed_amt_grain  72
  407.   _form_feed            12
  408.   _bold                 27 'E'
  409.   _bold_cancel          27 'F'
  410.   _underline            27 '-' 1
  411.   _underline_cancel     27 '-' 0
  412.   _subscript            27 'S' 0
  413.   _subscript_cancel     27 'T'
  414.   _superscript          27 'S' 1
  415.   _superscript_cancel   27 'T'
  416.   _font_number          1
  417.   _font_name            'Draft'
  418.   _font_select          27 '[d' 1 0 1
  419.   _font_file            null
  420.   _font_number          2
  421.   _font_name            'Letter Quality'
  422.   _font_select          27 '[d' 1 0 254
  423.   _font_file            null
  424.  
  425. =IBM_2390/2391_(Epson_mode)
  426.   _caveat               null
  427.   _start_print          27 't' 1
  428.   _end_print            null
  429.   _param_mode           binary
  430.   _cpi_5                null
  431.   _cpi_10               18 27 'P'
  432.   _cpi_12               18 27 'M'
  433.   _cpi_17               27 'P' 15
  434.   _horiz_pos_abs        27 '$'
  435.   _horiz_pos_abs_tail   null
  436.   _horiz_pos_param_size 1
  437.   _horiz_pos_abs_grain  60
  438.   _vert_pos_rel         27 'J'
  439.   _vert_pos_rel_tail    null
  440.   _vert_pos_rel_grain   216
  441.   _left_margin          18 27 'M'  27 'l'
  442.   _left_margin_tail     null
  443.   _left_margin_grain    10
  444.   _carriage_return      13
  445.   _carriage_home        27 '<'
  446.   _line_feed            10
  447.   _line_feed_amt        null
  448.   _line_feed_amt_tail   null
  449.   _line_feed_amt_grain  0
  450.   _form_feed            12
  451.   _bold                 27 'E'
  452.   _bold_cancel          27 'F'
  453.   _underline            27 '-' 1
  454.   _underline_cancel     27 '-' 0
  455.   _subscript            27 'S' 0
  456.   _subscript_cancel     27 'T'
  457.   _superscript          27 'S' 1
  458.   _superscript_cancel   27 'T'
  459.   _font_number          1
  460.   _font_name            'Draft Quality'
  461.   _font_select          27 'x' 0
  462.   _font_file            null
  463.   _font_number          2
  464.   _font_name            'Letter Quality--Prestige'
  465.   _font_select          27 'x' 1  27 'k' 0
  466.   _font_file            null
  467.   _font_number          3
  468.   _font_name            'Letter Quality--Gothic'
  469.   _font_select          27 'x' 1  27 'k' 1
  470.   _font_file            null
  471.   _font_number          4
  472.   _font_name            'Letter Quality--Courier'
  473.   _font_select          27 'x' 1  27 'k' 2
  474.   _font_file            null
  475.   _font_number          5
  476.   _font_name            'Letter Quality--Script'
  477.   _font_select          27 'x' 1  27 'k' 4
  478.   _font_file            null
  479.   _font_number          6
  480.   _font_name            'Letter Quality--Orator'
  481.   _font_select          27 'x' 1  27 'k' 7
  482.   _font_file            null
  483.   _font_number          7
  484.   _font_name            'Letter Quality--Presentor'
  485.   _font_select          27 'x' 1  27 'k' 8
  486.   _font_file            null
  487.  
  488. =IBM_ProPrinter_X24E_compatible
  489.   @Star_NX2420_Rainbow_(ProPrinter_Emul)
  490.   _caveat               null
  491.  
  492. =Panasonic_default
  493.   _caveat               null
  494.   _start_print          17 27 '6'
  495.   _end_print            19
  496.   _param_mode           binary
  497.   _cpi_5                null
  498.   _cpi_10               18 27 80
  499.   _cpi_12               18 27 77
  500.   _cpi_17               27 80 15
  501.   _horiz_pos_abs        null
  502.   _horiz_pos_abs_tail   null
  503.   _horiz_pos_param_size 0
  504.   _horiz_pos_abs_grain  0
  505.   _vert_pos_rel         27 43
  506.   _vert_pos_rel_tail    null
  507.   _vert_pos_rel_grain   360
  508.   _left_margin          18 27 80 27 108
  509.   _left_margin_tail     null
  510.   _left_margin_grain    10
  511.   _carriage_return      13
  512.   _carriage_home        27 '<'
  513.   _line_feed            10
  514.   _line_feed_amt        null
  515.   _line_feed_amt_tail   null
  516.   _line_feed_amt_grain  0
  517.   _form_feed            12
  518.   _bold                 27 'E'
  519.   _bold_cancel          27 'F'
  520.   _underline            null
  521.   _underline_cancel     null
  522.   _subscript            null
  523.   _subscript_cancel     null
  524.   _superscript          null
  525.   _superscript_cancel   null
  526.   _font_number          1
  527.   _font_name            'Draft'
  528.   _font_select          27 'x0' 27 'U0'
  529.   _font_file            null
  530.   _font_number          2
  531.   _font_name            'Courier'
  532.   _font_select          27 'x1' 27 107 0 27 'U1'
  533.   _font_file            null
  534.  
  535. ; Our thanks to Vince Broman for the following entry
  536. =Panasonic_KX-P1091
  537.   _caveat               'Need front panel switch set to Std. Pgm.'
  538.   _start_print          13 27 64
  539.   _end_print            null
  540.   _param_mode           binary
  541.   _cpi_5                null
  542.   _cpi_10               18 27 110
  543.   _cpi_12               18 27 77
  544.   _cpi_17               18 27 80 15
  545.   _horiz_pos_abs        null
  546.   _horiz_pos_abs_tail   null
  547.   _horiz_pos_param_size 0
  548.   _horiz_pos_abs_grain  0
  549.   _vert_pos_rel         27 74
  550.   _vert_pos_rel_tail    10
  551.   _vert_pos_rel_grain   216
  552.   _left_margin          27 108
  553.   _left_margin_tail     null
  554.   _left_margin_grain    10
  555.   _carriage_return      13
  556.   _carriage_home        13
  557.   _line_feed            10
  558.   _line_feed_amt        27 51
  559.   _line_feed_amt_tail   null
  560.   _line_feed_amt_grain  216
  561.   _form_feed            12
  562.   _bold                 null
  563.   _bold_cancel          null
  564.   _underline            27 '-1'
  565.   _underline_cancel     27 '-0'
  566.   _subscript            27 'S1'
  567.   _subscript_cancel     27 'T'
  568.   _superscript          27 'S0'
  569.   _superscript_cancel   27 'T'
  570.   _single_high_wide     null
  571.   _double_high_wide     null
  572.   _font_number          1
  573.   _font_name            'default'
  574.   _font_select          null
  575.   _font_file            null
  576.  
  577. =Panasonic_KX-P1091i_(Epson_emulation_new)
  578.   _caveat               'Make sure DIP switch 3 is off, and switch 1 is on'
  579. . I think the *start* and *end* print should reset the printer.  This
  580. . is done with different sequences.  The DC1 and DC3 characters
  581. . that were used are flow control characters (from what I understand
  582. . from the printer manual).
  583. .  _start_print          17
  584. .  _end_print            19
  585.   _start_print          27 '@'
  586.   _end_print            27 '@'
  587.   _param_mode           binary
  588. . Blaine had me put different values in here, but these originals work.
  589.   _cpi_5                null
  590.   _cpi_10               27 'w' 0
  591.   _cpi_12               27 'w' 1
  592.   _cpi_17               27 'w' 3
  593.   _horiz_pos_abs        null
  594.   _horiz_pos_abs_tail   null
  595.   _horiz_pos_param_size 0
  596.   _horiz_pos_abs_grain  0
  597. . The following three lines have the values that were previously
  598. . given to _line_feed_amt below.
  599.   _vert_pos_rel         null
  600.   _vert_pos_rel_tail    null
  601.   _vert_pos_rel_grain   0
  602.   _left_margin          27 'w' 0 27 'l'
  603.   _left_margin_tail     null
  604.   _left_margin_grain    10
  605.   _carriage_return      13
  606.   _line_feed            10
  607. . The following three lines have the values that were previously
  608. . given to _vert_pos_rel above.
  609.   _line_feed_amt        27 '3'
  610.   _line_feed_amt_tail   null
  611.   _line_feed_amt_grain  216
  612.   _form_feed            12
  613.   _bold                 27 'G'
  614.   _bold_cancel          27 'H'
  615. . The attributes below that have two characters in the string are
  616. . incorrect.  They should have one character and the digit should
  617. . be an actual numeric.
  618. . i.e. wrong: _underline            27 '-1'
  619.   _underline            27 '-' 1
  620.   _underline_cancel     27 '-' 0
  621.   _subscript            27 'S' 1
  622.   _subscript_cancel     27 'T'
  623.   _superscript          27 'S' 0
  624.   _superscript_cancel   27 'T'
  625.   _font_number          1
  626.   _font_name            'Draft'
  627.   _font_select          27 'x' 0
  628.   _font_file            null
  629.   _font_number          2
  630.   _font_name            'Courier'
  631.   _font_select          27 'x' 1
  632.   _font_file            null
  633.  
  634. =Panasonic_KX-P1091i_(Epson_emul_old)
  635.   _caveat               'Make sure DIP switch 3 is off, and switch 1 is on'
  636.   _start_print          17
  637.   _end_print            19
  638.   _param_mode           binary
  639.   _cpi_5                null
  640.   _cpi_10               18 27 'P'
  641.   _cpi_12               18 27 'M'
  642.   _cpi_17               27 'P' 27 15
  643.   _horiz_pos_abs        null
  644.   _horiz_pos_abs_tail   null
  645.   _horiz_pos_param_size 0
  646.   _horiz_pos_abs_grain  0
  647.   _vert_pos_rel         null
  648.   _vert_pos_rel_tail    null
  649.   _vert_pos_rel_grain   0
  650.   _left_margin          18 27 'P' 27 'l'
  651.   _left_margin_tail     null
  652.   _left_margin_grain    10
  653.   _carriage_return      13
  654.   _carriage_home        27 '<'
  655.   _line_feed            10
  656.   _line_feed_amt        27 '3'
  657.   _line_feed_amt_tail   null
  658.   _line_feed_amt_grain  216
  659.   _form_feed            12
  660.   _bold                 27 'G'
  661.   _bold_cancel          27 'H'
  662.   _underline            27 '-1'
  663.   _underline_cancel     27 '-0'
  664.   _subscript            27 'S1'
  665.   _subscript_cancel     27 'T'
  666.   _superscript          27 'S0'
  667.   _superscript_cancel   27 'T'
  668.   _font_number          1
  669.   _font_name            'Draft'
  670.   _font_select          27 'x0'
  671.   _font_file            null
  672.   _font_number          2
  673.   _font_name            'Courier'
  674.   _font_select          27 'x1'
  675.   _font_file            null
  676.  
  677. =Panasonic_KX-P1091i_(Proprinter_emulation)
  678.   _caveat               'Make sure DIP switch 3 is off, and switch 1 is off'
  679.   _start_print          27 '6'
  680.   _end_print            27 'H'
  681.   _param_mode           binary
  682.   _cpi_5                null
  683.   _cpi_10               18
  684.   _cpi_12               18 27 '+'
  685.   _cpi_17               18 15
  686.   _horiz_pos_abs        null
  687.   _horiz_pos_abs_tail   null
  688.   _horiz_pos_param_size 0
  689.   _horiz_pos_abs_grain  0
  690.   _vert_pos_rel         null
  691.   _vert_pos_rel_tail    null
  692.   _vert_pos_rel_grain   0
  693.   _left_margin          18 27 'X'
  694.   _left_margin_tail     80
  695.   _left_margin_grain    10
  696.   _carriage_return      13
  697.   _carriage_home        null
  698.   _line_feed            10
  699.   _line_feed_amt        27 '3'
  700.   _line_feed_amt_tail   null
  701.   _line_feed_amt_grain  216
  702.   _form_feed            12
  703.   _bold                 27 'E'
  704.   _bold_cancel          27 'F'
  705.   _underline            27 '-1'
  706.   _underline_cancel     27 '-0'
  707.   _subscript            27 'S1'
  708.   _subscript_cancel     27 'T'
  709.   _superscript          27 'S0'
  710.   _superscript_cancel   27 'T'
  711.   _font_number          1
  712.   _font_name            'Draft'
  713.   _font_select          27 'I' 0 27 'H'
  714.   _font_file            null
  715.   _font_number          2
  716.   _font_name            'Letter Quality'
  717.   _font_select          27 'I' 2 27 'G'
  718.   _font_file            null
  719.  
  720. =Panasonic_KX-P1124_(Epson_emulation)
  721.   _caveat               'This printer must be in the Epson compatibility mode'
  722.   _start_print          27 '6'
  723.   _end_print            null
  724.   _param_mode           binary
  725.   _cpi_5                null
  726.   _cpi_10               18 27 80
  727.   _cpi_12               18 27 77
  728.   _cpi_17               27 80 15
  729.   _horiz_pos_abs        27 '$'
  730.   _horiz_pos_abs_tail   null
  731.   _horiz_pos_param_size 2
  732.   _horiz_pos_abs_grain  60
  733.   _vert_pos_rel         27 'J'
  734.   _vert_pos_rel_tail    null
  735.   _vert_pos_rel_grain   180
  736.   _left_margin          18 27 'P' 27 108
  737.   _left_margin_tail     null
  738.   _left_margin_grain    10
  739.   _carriage_return      13
  740.   _carriage_home        27 '<'
  741.   _line_feed            10
  742.   _line_feed_amt        27 '+'
  743.   _line_feed_amt_tail   null
  744.   _line_feed_amt_grain  360
  745.   _form_feed            12
  746.   _bold                 27 69
  747.   _bold_cancel          27 70
  748.   _underline            27 45 1
  749.   _underline_cancel     27 45 0
  750.   _subscript            27 83 1
  751.   _subscript_cancel     27 84
  752.   _superscript          27 83 0
  753.   _superscript_cancel   27 84
  754.   _font_number          1
  755.   _font_name            'Draft'
  756.   _font_select          27 'x0' 27 'U0'
  757.   _font_file            null
  758.   _font_number          2
  759.   _font_name            'Courier'
  760.   _font_select          27 'x1' 27 107 0 27 'U1'
  761.   _font_file            null
  762.   _font_number          3
  763.   _font_name            'Prestige'
  764.   _font_select          27 'x1' 27 107 3 27 'U1'
  765.   _font_file            null
  766.   _font_number          4
  767.   _font_name            'Sans Serif'
  768.   _font_select          27 'x1' 27 107 1 27 'U1'
  769.   _font_file            null
  770.   _font_number          5
  771.   _font_name            'Script'
  772.   _font_select          27 'x1' 27 107 4 27 'U1'
  773.   _font_file            null
  774.  
  775. =Star_default
  776.   _start_print          27 116 49 27 54
  777.   _end_print            null
  778.   _param_mode           binary
  779.   _cpi_5                null
  780.   _cpi_10               18 27 80
  781.   _cpi_12               18 27 77
  782.   _cpi_17               27 80 27 15
  783.   _horiz_pos_abs        27 36
  784.   _horiz_pos_abs_tail   null
  785.   _horiz_pos_param_size 0
  786.   _horiz_pos_abs_grain  0
  787.   _vert_pos_rel         27 51
  788.   _vert_pos_rel_tail    null
  789.   _vert_pos_rel_grain   180
  790.   _left_margin          18 27 80 27 108
  791.   _left_margin_tail     null
  792.   _left_margin_grain    10
  793.   _carriage_return      13
  794.   _carriage_home        27 '<'
  795.   _line_feed            10
  796.   _line_feed_amt        null
  797.   _line_feed_amt_tail   null
  798.   _line_feed_amt_grain  0
  799.   _form_feed            12
  800.   _bold                 27 69
  801.   _bold_cancel          27 70
  802.   _underline            27 45 49
  803.   _underline_cancel     27 45 48
  804.   _subscript            subscript_cancel         null
  805.   _superscript          null
  806.   _superscript_cancel   null
  807.   _font_number          1
  808.   _font_name            'Draft'
  809.   _font_select          27 120 48 27 'U0'
  810.   _font_file            null
  811.   _font_number          2
  812.   _font_name            'Courier'
  813.   _font_select          27 120 49 27 107 0 27 'U1'
  814.   _font_file            null
  815.   _font_number          3
  816.   _font_name            'Sans Serif'
  817.   _font_select          27 120 49 27 107 1 27 'U1'
  818.   _font_file            null
  819.   _font_number          4
  820.   _font_name            'Orator Caps'
  821.   _font_select          27 120 49 27 107 2 27 'U1'
  822.   _font_file            null
  823.   _font_number          5
  824.   _font_name            'Orator LC'
  825.   _font_select          27 120 49 27 107 3 27 'U1'
  826.   _font_file            null
  827.  
  828. =Star_NX2420_Rainbow_(Epson_Emulation)
  829.   _caveat               'Make sure EDS switch A-1 is on'
  830.   _start_print          27 't1' 27 '6' 27 '5' 0 27 '[\' 4 0 0 0 0 180
  831.   _end_print            null
  832.   _param_mode           binary
  833.   _cpi_5                null
  834.   _cpi_10               18 27 'P'
  835.   _cpi_12               18 27 'M'
  836.   _cpi_17               27 'P' 15
  837.   _horiz_pos_abs        27 '$'
  838.   _horiz_pos_abs_tail   null
  839.   _horiz_pos_param_size 2
  840.   _horiz_pos_abs_grain  60
  841.   _vert_pos_rel         27 'J'
  842.   _vert_pos_rel_tail    null
  843.   _vert_pos_rel_grain   180
  844.   _left_margin          18 27 'P' 27 'l'
  845.   _left_margin_tail     null
  846.   _left_margin_grain    10
  847.   _carriage_return      13
  848.   _carriage_home        27 '<'
  849.   _line_feed            10
  850.   _line_feed_amt        27 '+'
  851.   _line_feed_amt_tail   null
  852.   _line_feed_amt_grain  360
  853.   _form_feed            12
  854.   _bold                 27 'E'
  855.   _bold_cancel          27 'F'
  856.   _underline            27 '-1'
  857.   _underline_cancel     27 '-0'
  858.   _subscript            27 'S1'
  859.   _subscript_cancel     27 'T'
  860.   _superscript          27 'S0'
  861.   _superscript_cancel   27 'T'
  862.   _font_number          1
  863.   _font_name            'Draft'
  864.   _font_select          27 'x0'
  865.   _font_file            null
  866.   _font_number          2
  867.   _font_name            'Times Roman'
  868.   _font_select          27 'x1' 27 'k' 0
  869.   _font_file            null
  870.   _font_number          3
  871.   _font_name            'Sans Serif'
  872.   _font_select          27 'x1' 27 'k' 1
  873.   _font_file            null
  874.   _font_number          4
  875.   _font_name            'Courier'
  876.   _font_select          27 'x1' 27 'k' 2
  877.   _font_file            null
  878.   _font_number          5
  879.   _font_name            'Prestige'
  880.   _font_select          27 'x1' 27 'k' 3
  881.   _font_file            null
  882.   _font_number          6
  883.   _font_name            'Script'
  884.   _font_select          27 'x1' 27 'k' 4
  885.   _font_file            null
  886.  
  887. =Star_NX2420_Rainbow_(ProPrinter_Emulation)
  888.   _caveat               'Make sure EDS switch A-1 is off'
  889.   _start_print          27 116 49 27 54
  890.   _end_print            null
  891.   _param_mode           binary
  892.   _cpi_5                null
  893.   _cpi_10               18 27 80
  894.   _cpi_12               18 27 77
  895.   _cpi_17               27 80 27 15
  896.   _horiz_pos_abs        27 36
  897.   _horiz_pos_abs_tail   null
  898.   _horiz_pos_param_size 0
  899.   _horiz_pos_abs_grain  0
  900.   _vert_pos_rel         27 51
  901.   _vert_pos_rel_tail    null
  902.   _vert_pos_rel_grain   180
  903.   _left_margin          18 27 80 27 108
  904.   _left_margin_tail     null
  905.   _left_margin_grain    10
  906.   _carriage_return      13
  907.   _carriage_home        null
  908.   _line_feed            10
  909.   _line_feed_amt        null
  910.   _line_feed_amt_tail   null
  911.   _line_feed_amt_grain  0
  912.   _form_feed            12
  913.   _bold                 27 69
  914.   _bold_cancel          27 70
  915.   _underline            27 45 49
  916.   _underline_cancel     27 45 48
  917.   _subscript            null
  918.   _subscript_cancel     null
  919.   _superscript          null
  920.   _superscript_cancel   null
  921.   _font_number          1
  922.   _font_name            'Draft'
  923.   _font_select          27 120 48 27 'U0'
  924.   _font_file            null
  925.   _font_number          2
  926.   _font_name            'Courier'
  927.   _font_select          27 120 49 27 107 0 27 'U1'
  928.   _font_file            null
  929.   _font_number          3
  930.   _font_name            'Sans Serif'
  931.   _font_select          27 120 49 27 107 1 27 'U1'
  932.   _font_file            null
  933.   _font_number          4
  934.   _font_name            'Orator Caps'
  935.   _font_select          27 120 49 27 107 2 27 'U1'
  936.   _font_file            null
  937.   _font_number          5
  938.   _font_name            'Orator LC'
  939.   _font_select          27 120 49 27 107 3 27 'U1'
  940.   _font_file            null
  941.  
  942. ; Our thanks to Vince Broman for the following entry
  943. =Debug
  944.   _caveat               'Debugging printer, best dumped to file'
  945.   _start_print          '<startprint>'
  946.   _end_print            '<endprint>'
  947.   _param_mode           ascii
  948.   _cpi_5                null
  949.   _cpi_10               '<cpi10>'
  950.   _cpi_12               '<cpi12>'
  951.   _cpi_17               '<cpi17>'
  952.   _horiz_pos_abs        null
  953.   _horiz_pos_abs_tail   null
  954.   _horiz_pos_param_size 0
  955.   _horiz_pos_abs_grain  0
  956.   _vert_pos_rel         null
  957.   _vert_pos_rel_tail    null
  958.   _vert_pos_rel_grain   0
  959.   _left_margin          '<leftmargin='
  960.   _left_margin_tail     '/10>'
  961.   _left_margin_grain    10
  962.   _carriage_return      '<CR>' 13 10
  963.   _carriage_home        '<CRHOME>' 13 10
  964.   _line_feed            '<LF>' 13 10
  965.   _line_feed_amt        '<LFAMT='
  966.   _line_feed_amt_tail   '/216>'
  967.   _line_feed_amt_grain  216
  968.   _form_feed            '<FF>' 13 10
  969.   _bold                 '<BOLDON>'
  970.   _bold_cancel          '<BOLDOFF>'
  971.   _underline            '<ULINEON>'
  972.   _underline_cancel     '<ULINEOFF>'
  973.   _subscript            '<SUBSON>'
  974.   _subscript_cancel     '<SUBSOFF>'
  975.   _superscript          '<SUPERON>'
  976.   _superscript_cancel   '<SUPEROFF>'
  977.   _single_high_wide     null
  978.   _double_high_wide     null
  979.   _font_number          1
  980.   _font_name            'default'
  981.   _font_select          null
  982.   _font_file            null
  983.  
  984. {
  985.  
  986. Notes:
  987.  
  988.      Below is a commented printer definition block.
  989.      This definition block has no effect on GIM.
  990.      GIM only reads and recognizes lines which begin
  991.      with:  = _ @
  992.      (whitespace--i.e. spaces, tabs, ...--are ignored)
  993.      A "{" begins a comment block, and a "}" ends it.
  994.  
  995. =default_dummy
  996.                               A line with an = marks the beginning of a
  997.                               printer definition block.  The printer
  998.                               name immediately follows the equal sign.
  999.                               All subsequent recognized lines
  1000.                               (beginning with:   = _ @ ) are recognized
  1001.                               and used for the current printer
  1002.                               definition, until another line is
  1003.                               encountered which begins with = .
  1004.  
  1005.   _start_print          null
  1006.                               This contains a sequence of printer
  1007.                               escape commands which are sent to the
  1008.                               printer at the beginning of every print
  1009.                               job.  This is a string value.  Numbers
  1010.                               encountered (not within quotes) are
  1011.                               interpreted as decimal values for ACSII
  1012.                               characters, i.e. 27 represents the <ESC>
  1013.                               character.  Character encountered between
  1014.                               quotes (single and double quotes) are
  1015.                               taken literally.
  1016.  
  1017.   _end_print            null
  1018.                               This contains a sequence of printer
  1019.                               escape commands which are sent to the
  1020.                               printer at the end of every print job.
  1021.  
  1022.   _param_mode           binary
  1023.                               This contains either the word binary or
  1024.                               ascii.  This designates whether a
  1025.                               parameter within a printer escape command
  1026.                               should be constructed with character
  1027.                               coded binary values or with ascii
  1028.                               characters 0-9 (ASCII 48-57).  This also
  1029.                               specifies the "style" of printer escape
  1030.                               commands.  The Epson/IBM dot-matrix style
  1031.                               begins the command with an ESC character,
  1032.                               then 1-3 characters for the command code,
  1033.                               and then conditionally data values.  The
  1034.                               LaserJet/PCL family use a significantly
  1035.                               different command style:  This begins
  1036.                               with the ESC character and may contain
  1037.                               multiple printer commands and ends with
  1038.                               an uppercase alphabetic character (A-Z).
  1039.                               All characters within the command are
  1040.                               printing ASCII characters (> ASCII
  1041.                               "space").  Data values are strictly ASCII
  1042.                               numbers (ASCII 48-57).
  1043.  
  1044.   _cpi_5                null
  1045.                               Printer code for double-wide pitch.
  1046.  
  1047.   _cpi_10               null
  1048.                               Printer code for pica pitch.
  1049.  
  1050.   _cpi_12               null
  1051.                               Elite pitch.
  1052.  
  1053.   _cpi_17               null
  1054.                               Compressed pitch.
  1055.  
  1056.   _horiz_pos_abs        null
  1057.                               Position at a specified location from the
  1058.                               left side of the page (absolute not
  1059.                               relative position).
  1060.  
  1061.   _horiz_pos_abs_tail   null
  1062.                               Terminating command sequence (for
  1063.                               LaserJet/PCL printers).
  1064.  
  1065.   _horiz_pos_param_size 0
  1066.                               Number of character used to encode the
  1067.                               data value (for dot-matrix printers).
  1068.                               Typically 1 or 2.
  1069.  
  1070.   _horiz_pos_abs_grain  0
  1071.                               Granularity.  The data value (d) in the
  1072.                               printer escape command is divided by the
  1073.                               granularity (g) to determine the number of
  1074.                               inches for positioning.
  1075.                               [movement = d (from GIM) / g]
  1076.  
  1077.   _vert_pos_rel         null
  1078.                               This causes a paper vertical advance to
  1079.                               occur immediately.  Carriage positioning
  1080.                               must not be affected!  If dot-matrix
  1081.                               printer does not support this function
  1082.                               then use line_feed_amt mechanism.
  1083.  
  1084.   _vert_pos_rel_tail    null
  1085.                               Terminating command sequence (for
  1086.                               LaserJet/PCL printers).
  1087.  
  1088.   _vert_pos_rel_grain   0
  1089.                               Granularity.  The data value (d) in the
  1090.                               printer escape command is divided by the
  1091.                               granularity (g) to determine the number of
  1092.                               inches for positioning.
  1093.                               [movement = d (from GIM) / g]
  1094.  
  1095.   _left_margin          null
  1096.                               Left margin.
  1097.  
  1098.   _left_margin_tail     null
  1099.                               Terminating command sequence (for
  1100.                               LaserJet/PCL printers).
  1101.  
  1102.   _left_margin_grain    0
  1103.                               Granularity.  The data value (d) in the
  1104.                               printer escape command is divided by the
  1105.                               granularity (g) to determine the number of
  1106.                               inches for positioning.
  1107.                               [movement = d (from GIM) / g]
  1108.                               Assume that the pitch is Pica (10 CPI)!
  1109.  
  1110.   _carriage_return      13
  1111.                               Traditional ASCII carriage return.
  1112.                               (Printer may or may not perform an assumed
  1113.                               subsequent line feed.)
  1114.  
  1115.   _carriage_home        null
  1116.                               Strictly a pure carriage return without
  1117.                               any associated line feed.  Very desirable
  1118.                               if the printer supports this.
  1119.  
  1120.   _line_feed            10
  1121.                               Traditional ASCII line feed.  (Printer
  1122.                               should not perform any hidden carriage
  1123.                               return.)
  1124.  
  1125.   _line_feed_amt        null
  1126.                               Set up spacing for next line_feed.  Must
  1127.                               perform any vertical positioning.  Does
  1128.                               not cause an immediate line feed.
  1129.                               (Typically used by dot-matrix printers
  1130.                               without the vert_pos_rel functionality.
  1131.                               Preferred over vert_pos_rel.)
  1132.  
  1133.   _line_feed_amt_tail   null
  1134.                               Terminating command sequence (for
  1135.                               LaserJet/PCL printers).
  1136.  
  1137.   _line_feed_amt_grain  0
  1138.                               Granularity.  The data value (d) in the
  1139.                               printer escape command is divided by the
  1140.                               granularity (g) to determine the number of
  1141.                               inches for positioning.
  1142.                               [movement = d (from GIM) / g]
  1143.  
  1144.   _form_feed            12
  1145.                               Form feed.
  1146.  
  1147.   _bold                 null
  1148.                               Set bold.
  1149.  
  1150.   _bold_cancel          null
  1151.                               Cancel bold.
  1152.  
  1153.   _underline            null
  1154.                               Set underline.
  1155.  
  1156.   _underline_cancel     null
  1157.                               Cancel underline.
  1158.  
  1159.   _subscript            null
  1160.                               Set subscript.  (Not required; nice to
  1161.                               have.)
  1162.  
  1163.   _subscript_cancel     null
  1164.                               Cancel supscript.
  1165.  
  1166.   _superscript          null
  1167.                               Set superscript.  (Not required; nice
  1168.                               to have.)
  1169.  
  1170.   _superscript_cancel   null
  1171.                               Cancel superscript.
  1172.  
  1173.   _font_number          1
  1174.  
  1175.   _font_name            'default'
  1176.  
  1177.   _font_select          null
  1178.  
  1179.   _font_file            null
  1180.  
  1181. }
  1182. 
  1183.